<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
<script>
	$(document).ready(function(){
		$("button").click(function(){
			$("a[target='_blank']").hide();
		});
	});
</script>
</head>
<body>
<h2>This is a heading.</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<p><a href="http://www.naver.com" target="_blank">NAVER</a></p>
<p><a href="http://www.daum.net">DAUM</a></p>
<button>Click me</button>

</body>
</html>